package com.bigdatastudio.auth.server;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bigdatastudio.common.entity.Role;
import com.bigdatastudio.common.entity.UserRole;

import java.util.List;

public interface IUserRoleService extends IService<UserRole> {
    public List<UserRole> getRoleIdsByUserId(int userId);
    public void saveRoleChanges(int uid, List<Role> roles);
    public void registerUserRole(int uid);
}
